package com.ruoyi.project.shop.dao;


import com.ruoyi.project.shop.domain.ShopUserRoleDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 商户和角色关联表
 * @author long
 * @email 499626561@qq.com
 * @date 2021-01-23 18:33:06
 */
@Mapper
public interface ShopUserRoleDao {

	ShopUserRoleDO get(Long suserId);
	
	List<ShopUserRoleDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(ShopUserRoleDO shopUserRole);
	
	int update(ShopUserRoleDO shopUserRole);
	
	int remove(Long suser_id);
	
	int batchRemove(Long[] suserIds);

    List<ShopUserRoleDO> likeList(Map<String,Object> map);
    
    int likeListCount(Map<String,Object> map);
}
